package com.example.figurehecheng.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="cannteen对象", description="")
public class CanteenVO {

    @ApiModelProperty(value = "店名")
    private String cookenName;

    @ApiModelProperty(value = "分类")
    private Integer type;

    @ApiModelProperty(value = "介绍")
    private String introduce;

    @ApiModelProperty(value = "地址")
    private String address;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "开始营业时间")
    private LocalDateTime beginTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "结束营业时间")
    private LocalDateTime endTime;

    @ApiModelProperty(value = "联系方式")
    private String phone;

    @ApiModelProperty(value = "餐饮文化")
    private String culture;

}
